//
//  CLLDemoViewController.swift
//  CLWeiNo
//
//  Created by DDC on 2017/10/10.
//  Copyright © 2017年 DDC. All rights reserved.
//

import UIKit

class CLLDemoViewController: CLLBaseViewController {


    @objc func nextClick(){
        let vc = CLLDemoViewController()
        vc.title = "第\(navigationController?.childViewControllers.count ?? 0)个 "
        navigationController?.pushViewController(vc, animated: true)
    }
}

extension CLLDemoViewController {
    override func setupTableView() {
        super.setupTableView()
        navItem.rightBarButtonItem = UIBarButtonItem(title: "NEXT", fontsize: 16, action: #selector(nextClick), target: self)
    }
}

